// JavaScript Document
control='';
if(window.parent.parent.imin=='V1134') control='C4844';
if(window.parent.parent.imin=='V1133') control='C4845';
 if(control!=''){
  if(window.parent.parent.$("#"+control).length){
    url="../procesos/4907/extra.edit.php?id=<?=$id;?>&idPROY="+window.parent.parent.$("#"+control).val();
	$('#div_4907').load(url.replace(/ /g,'+'));
    } else {
	alert ("No ha cargado Empresas Beneficiarias");
	self.parent.tb_remove();
	}
 }